package com.bj.disc.ui.login.activity

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.ai3d.rfid.base.activity.BaseContainerVmActivity
import com.ai3d.rfid.base.vm.ContainerViewModel
import com.bj.disc.ui.login.fragment.PwdFragment
import com.bj.ski.base.databinding.LayoutContainerBinding


class PwdSetActivity : BaseContainerVmActivity<ContainerViewModel, LayoutContainerBinding>() {
    companion object {
        fun startPwdSetActivity(activity: Activity, inputAccount: String? = null) {
            var intent = Intent(activity, PwdSetActivity::class.java)
            intent.putExtra("account", inputAccount)
            activity.startActivity(intent)
            activity.overridePendingTransition(0, 0)

        }


    }

    override fun initView(savedInstanceState: Bundle?) {
        changeFragment(
            PwdFragment()
        )
    }


    override fun onBackPressed() {
        super.onBackPressed()
    }
}